package com.example.merchant.entity;

/**
 *优惠券类型
 */
public class CouponType {
    /*
    优惠券类型属性
     */
    private Integer couponTypeId;//类型id
    private String couponTypeName;//类型名称
    private Integer couponTypeRule;//规则标志（1满减，2直接减）
    private Double couponTypeFull;//达标满减金额
    private Double couponTypeCut;//减少金额


    public CouponType(){}

    public CouponType(Integer couponTypeId, String couponTypeName, Integer couponTypeRule, Double couponTypeFull, Double couponTypeCut) {
        this.couponTypeId = couponTypeId;
        this.couponTypeName = couponTypeName;
        this.couponTypeRule = couponTypeRule;
        this.couponTypeFull = couponTypeFull;
        this.couponTypeCut = couponTypeCut;
    }

    public Integer getCouponTypeId() {
        return couponTypeId;
    }

    public void setCouponTypeId(Integer couponTypeId) {
        this.couponTypeId = couponTypeId;
    }

    public String getCouponTypeName() {
        return couponTypeName;
    }

    public void setCouponTypeName(String couponTypeName) {
        this.couponTypeName = couponTypeName;
    }

    public Integer getCouponTypeRule() {
        return couponTypeRule;
    }

    public void setCouponTypeRule(Integer couponTypeRule) {
        this.couponTypeRule = couponTypeRule;
    }

    public Double getCouponTypeFull() {
        return couponTypeFull;
    }

    public void setCouponTypeFull(Double couponTypeFull) {
        this.couponTypeFull = couponTypeFull;
    }

    public Double getCouponTypeCut() {
        return couponTypeCut;
    }

    public void setCouponTypeCut(Double couponTypeCut) {
        this.couponTypeCut = couponTypeCut;
    }
}
